﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="HoaDonManagerForm.aspx.cs" Inherits="WebShoes.Admin.HoaDonManagerForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="panel-heading">    
    <h3 class="panel-title">
    <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
    <b>Danh Sách Hóa Đơn</b></h3>
    </div>
<div class="panel-body">

    
    <asp:GridView ID="GridView1" runat="server" CssClass="table table-hover" 
        AutoGenerateColumns="False" BorderStyle="None" GridLines="None" 
        HorizontalAlign="Center" onpageindexchanging="GridView1_PageIndexChanging" 
        PageSize="5" AllowPaging="True">
        <Columns>
            <asp:BoundField DataField="MaHoaDon" HeaderText="Mã" />
            <asp:BoundField DataField="HoTenKhachHang" HeaderText="Tên Khách Hàng" />
            <asp:BoundField DataField="DienThoai" HeaderText="Điện Thoại" />
            <asp:BoundField DataField="NgayMua" HeaderText="Ngày Mua" />
            <asp:BoundField DataField="NgayGiaoHang" HeaderText="Ngày Giao Hàng" />
            <asp:TemplateField HeaderText="#">
                <ItemTemplate>
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "HoaDonInfoForm.aspx?MaHoaDon=" +Eval("MaHoaDon")%>' CssClass="btn btn-info">
                    <span class="glyphicon glyphicon-pushpin" aria-hidden="true"></span> Xem chi tiết</asp:HyperLink>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <PagerSettings PageButtonCount="5" />
    </asp:GridView>


</div>

</asp:Content>
